<script setup>
import { Document, Menu as IconMenu, Setting } from '@element-plus/icons-vue'
import { ElMenu, ElRow } from 'element-plus'
import { useRouter } from 'vue-router'
const router = useRouter()
</script>
<template>
  <el-row class="tac" style="height: 100%">
    <el-col :span="4">
      <el-menu
        router
        popper-effect="dark"
        default-active="templateChange"
        class="el-menu-vertical-demo"
        style="height: 100%"
      >
        <el-menu-item index="templateChange">
          <el-icon><icon-menu /></el-icon>
          <span>模版替换</span>
        </el-menu-item>
        <el-menu-item index="home">
          <el-icon><icon-menu /></el-icon>
          <span>菜单</span>
        </el-menu-item>
      </el-menu>
    </el-col>
    <el-col :span="20">
      <router-view></router-view>
    </el-col>
  </el-row>
</template>
<style scoped lang="scss"></style>
